home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 3 / BBS in a box - Trilogy III.iso / Files / System7 tools / Frontier / DWMenu ƒ / DWmenu next >
Encoding:
Text File  |  1992-06-12  |  2.4 KB  |  63 lines  |  [TEXT/GEOL]

  1. Enclosure: dwmenu.pkg
  2.  
  3. Updated March 4, 1992
  4. --------------------
  5.  
  6. There's a fourth command in the menu -- Compile DocServer Outline.
  7.  
  8. This is useful if you're writing DocServer documentation and want to use
  9. Frontier's built-in outliner to compose the docs. It has its advantages and
  10. disadvantages, but I like it... (I suppose this is not too surprising!)
  11.  
  12. Included in the package is a small outline with five verb docs in it. Load it
  13. into Frontier's object database by clicking on the "Sample Outline" file. Make
  14. sure it's the frontmost window, and select the Compile Docserver Outline
  15. command from the menu. It will prompt you for a file to save the text to. You
  16. can then load the text into DocServer using the Load a Text File command in its
  17. File menu. Hope you like it!
  18.  
  19. DW
  20.  
  21. About DWmenu
  22. -------------
  23.  
  24. I had this lying around in my Frontier.root, and I wasn't sure how to
  25. distribute it, but it has some very useful stuff in it, especially if you're
  26. distributing Frontier scripts, tables, objects, etc.
  27.  
  28. It's a menubar object. To use the commands in the menu, type:
  29.  
  30.    menu.install (@scratchpad.DWmenu)
  31.  
  32. into the Quick Script window.
  33.  
  34. It has three commands in it:
  35.  
  36. 1. Window Formatter: Pretties-up windows, based on the type of the frontmost
  37. window. If it's anything but a table window, it resizes the window so it will
  38. fit on a 640-by-480 Macintosh screen, and centers it on the desktop (roughly,
  39. it allows for the menu bar). If it's a table window, we operate on the cursor
  40. object. If it's a table, we recursively visit all sub-windows, and
  41. sub-sub-windows, etc.
  42.  
  43. 2. Center Window: Much simpler than Window Formatter. It just operates on the
  44. frontmost window, regardless of its type. Resizes and centers it to look good
  45. on a 640-by-480 screen.
  46.  
  47. 3. Fix Table Cursors: Put the table cursor on a table you want to clean up. It
  48. recursively goes thru all the sub-tables and moves the cursor up to the first
  49. line in the table.
  50.  
  51. As you've probably already guessed, these scripts were used in prettying-up
  52. Frontier.root for the version 1.0 shipment in January 1992. From now on, I'm
  53. going to use these scripts before uploading any suites and scripts, to be sure
  54. everything is in order the first time you look at stuff. You can use these
  55. scripts too...
  56.  
  57. Note -- if you want to have these commands available to you all the time, add
  58. the menu.install line to your customStartup script in your people table.
  59.  
  60. Dave Winer, UserLand Software, 2/16/92
  61.  
  62. Author: EL.GRANDE
  63.